package com.sgu6.middleware.enums;


/**
 * Created by root on 17-9-16.
 * 机器状态枚举类
 * @author sam
 */
public enum MachineStatusEnum {
    关机(-2),停机(-1),离线(0),待机(1),调节精度(2),打米中(3),打包(4),暂停(5),出米成功(6);

    private int code;

    MachineStatusEnum(int code) {
        this.code = code;
    }

    public Integer code() {
        return this.code;
    }
}
